Sensory and pain threshold determination